import request from '@/utils/request'

export interface DashboardStats {
  userCount: number
  courseCount: number
  videoCount: number
  articleCount: number
}

export function getDashboardStats(): Promise<DashboardStats> {
  return request({
    url: '/dashboard/stats',
    method: 'get'
  })
} 